package com.spring.boot.standard.admin.service;

import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.spring.boot.standard.admin.entity.Versions;

/**
 * @author qinhao
 * @since Tue Sep 07 06:24:29 UTC 2021
 */
public interface VersionsService {

	public Versions findById(String versionsid);//根据主键获取对象

	public Versions findLastestVersion();//最新版本

	public Page<Versions> findAll(Pageable pageable,Object[] args);//获取分页信息

	public void deleteById(String versionsid);//获取分页信息

	public Versions save(Versions versions);//保存数据
	
	public int saveFromList(List<Map<String,String>> list) throws Exception;//导入
	
}